package com.yusheng.tr.multi.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.yusheng.tr.common.core.entity.multi.TransDistEntity;
import com.yusheng.tr.common.core.model.dto.multi.TransDistDTO;
import com.yusheng.tr.common.core.model.vo.multi.DistinctAreaVO;

import java.util.List;

/**
 * <p>
 * 运输距离表 服务类
 * </p>
 *
 * @author author
 * @since 2023-09-27
 */
public interface ITransDistService extends IService<TransDistEntity> {

    List<TransDistEntity> queryTransDistList(TransDistEntity params);

    IPage<TransDistEntity> queryPageTransDistList(Integer current, Integer size,String startArea,String endArea) ;


    void insert(TransDistDTO transDistDTO);



    void updateData(TransDistDTO transDistDTO);



   DistinctAreaVO distinctArea();

    TransDistEntity queryArea(String startArea, String endArea);
}
